home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 7 / BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso / Files / Bus / H-L / JD'sFundTracker.cpt / JD'sFundTracker / stack_-1.xml < prev    next >
Extensible Markup Language  |  1992-07-06  |  3KB  |  24 lines

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!DOCTYPE stack PUBLIC "-//Apple, Inc.//DTD stack V 2.0//EN" "" >
  3. <stack>
  4.     <name>in</name>
  5.     <id>-1</id>
  6.     <cardCount>3</cardCount>
  7.     <cardID>2996</cardID>
  8.     <listID>4561</listID>
  9.     <cantModify><false /></cantModify>
  10.     <cantDelete><true /></cantDelete>
  11.     <cantAbort><false /></cantAbort>
  12.     <cardSize>
  13.         <width>512</width>
  14.         <height>342</height>
  15.     </cardSize>
  16.     <script>on AnotherFieldglobal xx,FNamesput "I am now making a 'Record' field for "&xx&"put xx&"," after FNamesset cursor to busyput the number of cd fields into cfsput cfs+1 into cfsDoMenu "New Field"set name of cd field cfs to xxset rect of cd field xx to 21,102,311,310set style of cd field xx to scrollingset TextAlign of cd field xx to leftset textFont of cd field xx to Genevaset textHeight of cd field xx to 16set textSize of cd field xx to 12set textStyle of cd field xx to plainend AnotherfieldOn FieldCheckglobal FNamesput empty into Fnamesgo to card "records"repeat with ff = 1 to the number of cd fieldsput (the short name of cd field ff)&"," after FNamesend repeatend fieldCheckon DoRecordsglobal TD,TLD,II,FNames,xxset the lockscreen to trueput empty into NCheckput (the number of lines in cd field "funds")-2 into yyrepeat with x = 1 to the number of lines in cd field "funds"put word 1 of line x of cd field "funds" into xxfind xx in cd field "daily"put word 2 of the foundline into FXput word 3 of line FX of cd field "daily" into IINumFormatgo to card "Records" of this stackFieldCheckif FNames contains xx thenput "Stand by: Now updating records for the"&&xx&&"fund."put TLD&"... "&II&return before cd field xxelseAnotherFieldput TLD&"... "&II&return before cd field xxput xx&"," after FNamesend ifgo to cd id 2996if x = yy then exit repeatend repeathide msg boxend DoRecordson Lnformatset cursor to busyglobal FFput 28-(the number of chars in FF) into xrepeat x timesset cursor to busyput "." after yend repeatput " "&y&" " after word one of FFend LNFormaton NumFormatglobal II, TDput "." into DDset cursor to busyif II contains "." thenput "00" after IIrepeat foreverput (the number of chars in II)-2 into ttput char tt of II into DDDif  DDD = DD then exit repeatset cursor to busydelete the last char of IIend repeatelseput ".00" after IIset cursor to busyend ifend NumFormaton CloseStackif the freesize of this stack > (the size of this stack * .1) then  doMenu "compact stack"end CloseStack</script>
  17.     <background id="2674" file="background_2674.xml" name="UNO" />
  18.     <background id="3862" file="background_3862.xml" name="Graphs" />
  19.     <background id="4636" file="background_4636.xml" name="" />
  20.     <card id="2996" file="card_2996.xml" marked="false" name="Fund 1" owner="2674" />
  21.     <card id="4233" file="card_4233.xml" marked="false" name="Records" owner="4636" />
  22.     <card id="2341" file="card_2341.xml" marked="false" name="Chart" owner="3862" />
  23. </stack>
  24.